﻿namespace Gean.Interface
{
    /// <summary>当一个实体有Id做为索引时，继承这个接口实现Id的类型的泛型化
    /// </summary>
    /// <typeparam name="T">Id的类型</typeparam>
    public interface IIdentifiedEntity<T>
    {
        /// <summary>本实体的ID
        /// </summary>
        T Id { get; set; }
    }
}